<?php
/**
 * 目标定义接口
 *
 * @author iwind <iwind.iwind@gmail.com>
 * @link http://www.4kiki.net/
 * @version $Id: ISubject.php 312 2008-04-23 16:29:38Z iwind $
 * @package net.4kiki.observer
 */

/**
 * 目标定义接口
 *
 * @version $Id: ISubject.php 312 2008-04-23 16:29:38Z iwind $
 * @package net.4kiki.observer
 */
interface ISubject {
	public function getState();
	public function setState($state);
	public function attach(IObserver $observer);
	public function detach(IObserver $observer);
	public function notify();
}


?>